package com.acme.annotation;

/**
 * @author Alexander Kotov (kotov.alex.22@gmail.com)
 */

public class ClientDaoImpl implements ClientDao {
    @Override
    @Transactional
    public void add(final Client client) {
        System.out.println("ClientDaoImpl: will be saving client");
    }

    @Override
    @Transactional
    public void update(final Client client) {
        System.out.println("ClientDaoImpl: will be updating client");
    }

    @Override
    @Transactional
    public void find(final int clientId) {
        System.out.println("ClientDaoImpl: will be finding a client");
    }
}
